<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>RestfulLinux: RFTrigger.h源文件</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">RestfulLinux
   &#160;<span id="projectnumber">1.0.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- 制作者 Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>数据结构</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
      <li><a href="globals.html"><span>全局定义</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="headertitle">
<div class="title">RFTrigger.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="RFTrigger_8h.html">浏览该文件的文档。</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00013"></a>00013 <span class="preprocessor">#ifndef __RFTRIGGER_H__</span>
<a name="l00014"></a>00014 <span class="preprocessor"></span><span class="preprocessor">#define __RFTRIGGER_H__</span>
<a name="l00015"></a>00015 <span class="preprocessor"></span>
<a name="l00016"></a>00016 <span class="comment">/*****************************************************************************/</span>
<a name="l00017"></a>00017 <span class="comment">/* Includes                                                                  */</span>
<a name="l00018"></a>00018 <span class="comment">/*****************************************************************************/</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;<a class="code" href="osDataType_8h.html" title="general data type definition .">osAdaption/osDataType.h</a>&gt;</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifdef _cplusplus</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span>{
<a name="l00023"></a>00023 <span class="preprocessor">#endif   </span>
<a name="l00024"></a>00024 <span class="preprocessor"></span>
<a name="l00025"></a>00025 
<a name="l00026"></a>00026 <span class="comment">/*****************************************************************************/</span>
<a name="l00027"></a>00027 <span class="comment">/* External Definition（Constant and Macro )                                 */</span>
<a name="l00028"></a>00028 <span class="comment">/*****************************************************************************/</span>
<a name="l00030"></a><a class="code" href="RFTrigger_8h.html#a4b9705e1b0fa12219ffce732299483da">00030</a> <span class="preprocessor">#define TRIGGER_TITILE_LEN_MAX  31</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>
<a name="l00032"></a><a class="code" href="RFTrigger_8h.html#a5ebb06f2ad457bfc5e13a50b31e39527">00032</a> <span class="preprocessor">#define TRIGGER_DSUUIDLIST_LEN_MAX 127</span>
<a name="l00033"></a>00033 <span class="preprocessor"></span>
<a name="l00034"></a><a class="code" href="RFTrigger_8h.html#ac906443b0d6083250c2528fdf7123f56">00034</a> <span class="preprocessor">#define TRIGGER_URL_LEN_MAX 127</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a><a class="code" href="RFTrigger_8h.html#abd041482c4b14cb0963d7f2a967582e2">00036</a> <span class="preprocessor">#define TRIGGER_PARAM_LEN_MAX   255</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span>
<a name="l00047"></a><a class="code" href="RFTrigger_8h.html#a9b09b9a2842652ed0b1345da3b5619cd">00047</a> <span class="preprocessor">#define TRIGGER_TYPE_LT   0</span>
<a name="l00048"></a>00048 <span class="preprocessor"></span>
<a name="l00049"></a><a class="code" href="RFTrigger_8h.html#a9a869935f93df9b2b9ea87420663abfd">00049</a> <span class="preprocessor">#define TRIGGER_TYPE_LE   1</span>
<a name="l00050"></a>00050 <span class="preprocessor"></span>
<a name="l00051"></a><a class="code" href="RFTrigger_8h.html#a2012001d07014d89c6922b3a4837995e">00051</a> <span class="preprocessor">#define TRIGGER_TYPE_GT   2</span>
<a name="l00052"></a>00052 <span class="preprocessor"></span>
<a name="l00053"></a><a class="code" href="RFTrigger_8h.html#a1455f0984c7641e7a76319d232e7c25a">00053</a> <span class="preprocessor">#define TRIGGER_TYPE_GE   3</span>
<a name="l00054"></a>00054 <span class="preprocessor"></span>
<a name="l00055"></a><a class="code" href="RFTrigger_8h.html#a3b571b7685744389451226715e0e6e68">00055</a> <span class="preprocessor">#define TRIGGER_TYPE_EQ   4</span>
<a name="l00056"></a>00056 <span class="preprocessor"></span>
<a name="l00063"></a><a class="code" href="RFTrigger_8h.html#a809a854b40746735960cd78bea28119f">00063</a> <span class="preprocessor">#define TRIGGER_TYPE_IN     5</span>
<a name="l00064"></a>00064 <span class="preprocessor"></span>
<a name="l00065"></a><a class="code" href="RFTrigger_8h.html#a969503046eecb4dea5e4e4b15dbb60c5">00065</a> <span class="preprocessor">#define TRIGGER_TYPE_OUT    6</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span>
<a name="l00067"></a><a class="code" href="RFTrigger_8h.html#a5189a172a939498edbab037f21d7ff33">00067</a> <span class="preprocessor">#define TRIGGER_TYPE_INOUT  7</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00077"></a>00077 <span class="preprocessor">#define TRIGGER_TYPE_EXP        8</span>
<a name="l00078"></a>00078 <span class="preprocessor"></span>
<a name="l00084"></a>00084 <span class="preprocessor">#define TRIGGER_TYPE_CHANGE     9</span>
<a name="l00085"></a>00085 <span class="preprocessor"></span>
<a name="l00091"></a><a class="code" href="RFTrigger_8h.html#ad3b804c7e1200356f4874e67ad6040d1">00091</a> <span class="preprocessor">#define TRIGGER_TYPE_FROZEN     10</span>
<a name="l00092"></a>00092 <span class="preprocessor"></span>
<a name="l00093"></a><a class="code" href="RFTrigger_8h.html#a921578a2039b32aa6756fbdaf08b3e79">00093</a> <span class="preprocessor">#define TRIGGER_TYPE_LIVE       11</span>
<a name="l00094"></a>00094 <span class="preprocessor"></span>
<a name="l00099"></a>00099 <span class="preprocessor">#define TRIGGER_TYPE_UNKNOWN    20</span>
<a name="l00100"></a>00100 <span class="preprocessor"></span>
<a name="l00105"></a>00105 <span class="comment">/*****************************************************************************/</span>
<a name="l00106"></a>00106 <span class="comment">/* External Structures, Enum and Typedefs                                    */</span>
<a name="l00107"></a>00107 <span class="comment">/*****************************************************************************/</span>
<a name="l00111"></a><a class="code" href="structRFTriggerConfig.html">00111</a> <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00112"></a>00112 {
<a name="l00114"></a><a class="code" href="structRFTriggerConfig.html#a0e5eaf3cf19881c83013f3bcae4d70fe">00114</a>     int8 title[<a class="code" href="RFTrigger_8h.html#a4b9705e1b0fa12219ffce732299483da">TRIGGER_TITILE_LEN_MAX</a> + 1];
<a name="l00116"></a><a class="code" href="structRFTriggerConfig.html#a0815c001576b48d1dcc0a71f5913621b">00116</a>     int8 dataStreamUUIDList[<a class="code" href="RFTrigger_8h.html#a5ebb06f2ad457bfc5e13a50b31e39527">TRIGGER_DSUUIDLIST_LEN_MAX</a> + 1];
<a name="l00118"></a><a class="code" href="structRFTriggerConfig.html#afefa6448b1f1f1af0447bc43cae15d76">00118</a>     int8 remoteURL[<a class="code" href="RFTrigger_8h.html#ac906443b0d6083250c2528fdf7123f56">TRIGGER_URL_LEN_MAX</a> + 1];
<a name="l00120"></a><a class="code" href="structRFTriggerConfig.html#a16d5e913af8cbbb41a2b2b0cfedf942f">00120</a>     int32 <a class="code" href="structRFTriggerConfig.html#a16d5e913af8cbbb41a2b2b0cfedf942f">triggerType</a>;
<a name="l00122"></a><a class="code" href="structRFTriggerConfig.html#a5db08cb4b9fba9659740048f4f274d64">00122</a>     int8 triggerParam[<a class="code" href="RFTrigger_8h.html#abd041482c4b14cb0963d7f2a967582e2">TRIGGER_PARAM_LEN_MAX</a> + 1];
<a name="l00123"></a>00123 } <a class="code" href="structRFTriggerConfig.html" title="触发器配置信息结构定义">RFTriggerConfig</a>, *<a class="code" href="structRFTriggerConfig.html" title="触发器配置信息结构定义">pRFTriggerConfig</a>;
<a name="l00124"></a>00124 
<a name="l00125"></a>00125 <span class="comment">/*****************************************************************************/</span>
<a name="l00126"></a>00126 <span class="comment">/* External Function Prototypes                                              */</span>
<a name="l00127"></a>00127 <span class="comment">/*****************************************************************************/</span>
<a name="l00136"></a>00136 int32 <a class="code" href="RFTrigger_8h.html#a11e461c70d04885c5536a10d36b22756" title="创建触发器">RFTrigger_Create</a>(<a class="code" href="structRFTriggerConfig.html" title="触发器配置信息结构定义">RFTriggerConfig</a> *config, int8 *triggerID);
<a name="l00137"></a>00137 
<a name="l00146"></a>00146 int32 <a class="code" href="RFTrigger_8h.html#a2b81e222ed85224cbec913345a255ef3" title="更新触发器信息">RFTrigger_UpdateInfo</a>(int8 *triggerID, <a class="code" href="structRFTriggerConfig.html" title="触发器配置信息结构定义">RFTriggerConfig</a> *config);
<a name="l00147"></a>00147 
<a name="l00156"></a>00156 int32 <a class="code" href="RFTrigger_8h.html#ac4ba291113e86f09f9c7f04ed9c06b89" title="查看触发器">RFTrigger_View</a>(int8 *triggerID, <a class="code" href="structRFTriggerConfig.html" title="触发器配置信息结构定义">RFTriggerConfig</a> *config);
<a name="l00157"></a>00157 
<a name="l00165"></a>00165 int32 <a class="code" href="RFTrigger_8h.html#a1cc0e6a85794d571a007dc73facf7399" title="删除触发器">RFTrigger_Delete</a>(int8 *triggerID);
<a name="l00166"></a>00166 
<a name="l00167"></a>00167 
<a name="l00168"></a>00168 <span class="preprocessor">#ifdef _cplusplus</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span>}
<a name="l00170"></a>00170 <span class="preprocessor">#endif   </span>
<a name="l00171"></a>00171 <span class="preprocessor"></span>
<a name="l00172"></a>00172 <span class="preprocessor">#endif</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span>
</pre></div></div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>数据结构</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>文件</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>宏定义</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated at 2016年六月3日 星期五 09:08:32 for RestfulLinux by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
